package com.itheima.pojo;

public class Library {
    private Integer id;
    private String title;
    private Integer momey;
    private Integer number;

    public Library() {
    }

    public Library(Integer id, String title, Integer momey, Integer number) {
        this.id = id;
        this.title = title;
        this.momey = momey;
        this.number = number;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getMomey() {
        return momey;
    }

    public void setMomey(Integer momey) {
        this.momey = momey;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "Library{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", momey=" + momey +
                ", number=" + number +
                '}';
    }
}
